﻿
Option Compare Binary
Option Infer On
Option Strict On
Option Explicit On

Imports ATS.DBModel
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.ComponentModel.DataAnnotations
Imports System.Linq
Imports System.ServiceModel.DomainServices.Hosting
Imports System.ServiceModel.DomainServices.Server


'The MetadataTypeAttribute identifies MainAssetsTableMetadata as the class
' that carries additional metadata for the MainAssetsTable class.
<MetadataTypeAttribute(GetType(MainAssetsTable.MainAssetsTableMetadata))>  _
Partial Public Class MainAssetsTable
    
    'This class allows you to attach custom attributes to properties
    ' of the MainAssetsTable class.
    '
    'For example, the following marks the Xyz property as a
    ' required property and specifies the format for valid values:
    '    <Required()>
    '    <RegularExpression("[A-Z][A-Za-z0-9]*")>
    '    <StringLength(32)>
    '    Public Property Xyz As String
    Friend NotInheritable Class MainAssetsTableMetadata
        
        'Metadata classes are not meant to be instantiated.
        Private Sub New()
            MyBase.New
        End Sub
        
        Public Property AssetAmount As Nullable(Of Decimal)
        
        Public Property Assetno As String
        
        Public Property AssignToEmployeeCode As String
        
        Public Property BaseCost As Nullable(Of Decimal)
        
        Public Property BoughtFrom As String
        
        Public Property BrandName As String
        
        Public Property Category As Category
        
        Public Property CategoryCode As String
        
        Public Property Condition As String
        
        Public Property Createdby As String
        
        Public Property DateAcquired As Nullable(Of DateTime)
        
        Public Property DateCreated As Nullable(Of DateTime)
        
        Public Property Department As Department
        
        Public Property DeptCode As String
        
        Public Property DescriptiveName As String
        
        Public Property DisposedAsset As DisposedAsset
        
        Public Property EstimatedValue As Nullable(Of Decimal)
        
        Public Property Images As ICollection(Of Image)
        
        Public Property InvoiceNumber As String
        
        Public Property LastModified As Nullable(Of DateTime)
        
        Public Property LastModifiedBy As String
        
        Public Property LastScanDate As Nullable(Of DateTime)
        
        Public Property LeasedAsset As LeasedAsset
        
        Public Property Location As Location
        
        Public Property LocationCode As String
        
        Public Property Manufacturer As String
        
        Public Property ModelNumber As String
        
        Public Property Person As Person
        
        Public Property Remarks As String
        
        Public Property ReplacementCost As Nullable(Of Decimal)
        
        Public Property RFIDno As String
        
        Public Property SalvageValue As Nullable(Of Decimal)
        
        Public Property Section As String
        
        Public Property SerialNumber As String
        
        Public Property Status As String
        
        Public Property VAT As Nullable(Of Decimal)
        
        Public Property Warranty As Warranty
    End Class
End Class

